package com.sc.nft.entity.dto;

import com.sc.nft.enums.OrderStatusEnum;
import com.sc.nft.enums.RefundTypeEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Data
public class RefundOrderPageDTO extends PageRequest {
    @ApiModelProperty(value = "用户手机号")
    @NotBlank(message = "用户手机号不能为空")
    private String userTel;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "状态,默认是搜索关闭订单过期订单,如果需要展示全部的话使用该字段,传空程序会自动处理")
    private OrderStatusEnum status;

    @ApiModelProperty(value = "订单类型")
    @NotNull(message = "订单类型不能为空")
    private RefundTypeEnum refundTypeEnum;

}
